<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			span{
				color:red;
			}
		</style>
	</head>
	<body>
		<script>
			var i=25;
			var j=2012;
			while(i<=1000){
				i=i*1.25;
				j=j+1;
				document.write(j+"年培养：<span>"+Math.round(i)+"</span>万人<br />")
			}
		</script>
	</body>
</html>
